<?php
/* Smarty version 3.1.29, created on 2022-08-24 12:56:47
  from "D:\developers\project\vwins\addons\system\template\login_1.tpl" */

if ($_smarty_tpl->smarty->ext->_validateCompiled->decodeProperties($_smarty_tpl, array (
  'has_nocache_code' => false,
  'version' => '3.1.29',
  'unifunc' => 'content_6305af8f260775_02911351',
  'file_dependency' => 
  array (
    '9efb88b96a39d666944033d4c14f96f2b52897a7' => 
    array (
      0 => 'D:\\developers\\project\\vwins\\addons\\system\\template\\login_1.tpl',
      1 => 1467353580,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
    'file:header.tpl' => 1,
    'file:footer.tpl' => 1,
  ),
),false)) {
function content_6305af8f260775_02911351 ($_smarty_tpl) {
?>

<!DOCTYPE html>
<html>
<head lang="zh-CN">
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title><?php if ($_smarty_tpl->tpl_vars['tem']->value['title']) {
echo $_smarty_tpl->tpl_vars['tem']->value['title'];
} else {
echo $_smarty_tpl->tpl_vars['BASE_NAME']->value;
}?></title>
    <meta name="keywords" content="<?php echo $_smarty_tpl->tpl_vars['tem']->value['keywords'];?>
" />
    <meta name="description" content="<?php echo $_smarty_tpl->tpl_vars['tem']->value['description'];?>
" />
    <link rel="stylesheet" href="<?php echo $_smarty_tpl->tpl_vars['CSS_PATH']->value;?>
normalize.css"/>
    <link rel="stylesheet" href="<?php echo $_smarty_tpl->tpl_vars['CSS_PATH']->value;?>
global.css"/>
    <link rel="stylesheet" href="<?php echo $_smarty_tpl->tpl_vars['CSS_PATH']->value;?>
alert.css"/>
    <link rel="stylesheet" href="<?php echo $_smarty_tpl->tpl_vars['CSS_PATH']->value;?>
font-awesome.css"/>
    <link rel="stylesheet" href="<?php echo $_smarty_tpl->tpl_vars['NOW_PATH']->value;?>
css/iconfont.css"/>
    <link rel="stylesheet" href="<?php echo $_smarty_tpl->tpl_vars['NOW_PATH']->value;?>
css/login_1/common.css"/>
    <link rel="stylesheet" href="<?php echo $_smarty_tpl->tpl_vars['CSS_PATH']->value;?>
iealert.css"/>
    <?php echo '<script'; ?>
 type="text/javascript" src="<?php echo $_smarty_tpl->tpl_vars['JS_PATH']->value;?>
jquery-1.11.0.js"><?php echo '</script'; ?>
>
    <?php echo '<script'; ?>
 type="text/javascript" src="<?php echo $_smarty_tpl->tpl_vars['JS_PATH']->value;?>
jquery.alert.js"><?php echo '</script'; ?>
>
    <?php echo '<script'; ?>
 type="text/javascript" src="<?php echo $_smarty_tpl->tpl_vars['JS_PATH']->value;?>
jquery.form.min.js"><?php echo '</script'; ?>
>
    <?php echo '<script'; ?>
 type="text/javascript" src="<?php echo $_smarty_tpl->tpl_vars['JS_PATH']->value;?>
bootstrap.min.js"><?php echo '</script'; ?>
>
    <?php echo '<script'; ?>
 type="text/javascript" src="<?php echo $_smarty_tpl->tpl_vars['JS_PATH']->value;?>
jquery.browser.js"><?php echo '</script'; ?>
>
    <?php echo '<script'; ?>
 type="text/javascript" src="<?php echo $_smarty_tpl->tpl_vars['JS_PATH']->value;?>
iealert.js"><?php echo '</script'; ?>
>
    <?php echo '<script'; ?>
 type="text/javaScript">$(document).ready(function() { $("body").iealert(); });<?php echo '</script'; ?>
>
</head>
<body>
<?php $_smarty_tpl->smarty->ext->_subtemplate->render($_smarty_tpl, "file:header.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0, false);
?>

<?php echo '<script'; ?>
>$('#head-nav-menu>li:eq(0)').addClass('active');<?php echo '</script'; ?>
>

<div class="wrapper-sign-in slide">
    <div id="banner" class="carousel slide" data-ride="carousel">
        <div class="carousel-inner" role="listbox">
            <?php
$_from = $_smarty_tpl->tpl_vars['tem']->value['t1']['loginbg'];
if (!is_array($_from) && !is_object($_from)) {
settype($_from, 'array');
}
$__foreach_foo_0_saved = isset($_smarty_tpl->tpl_vars['__smarty_foreach_foo']) ? $_smarty_tpl->tpl_vars['__smarty_foreach_foo'] : false;
$__foreach_foo_0_saved_item = isset($_smarty_tpl->tpl_vars['bg']) ? $_smarty_tpl->tpl_vars['bg'] : false;
$_smarty_tpl->tpl_vars['bg'] = new Smarty_Variable();
$_smarty_tpl->tpl_vars['__smarty_foreach_foo'] = new Smarty_Variable(array());
$__foreach_foo_0_first = true;
$_smarty_tpl->tpl_vars['bg']->_loop = false;
foreach ($_from as $_smarty_tpl->tpl_vars['bg']->value) {
$_smarty_tpl->tpl_vars['bg']->_loop = true;
$_smarty_tpl->tpl_vars['__smarty_foreach_foo']->value['first'] = $__foreach_foo_0_first;
$__foreach_foo_0_first = false;
$__foreach_foo_0_saved_local_item = $_smarty_tpl->tpl_vars['bg'];
?>
                <div class="item<?php if ((isset($_smarty_tpl->tpl_vars['__smarty_foreach_foo']->value['first']) ? $_smarty_tpl->tpl_vars['__smarty_foreach_foo']->value['first'] : null)) {?> active<?php }?>" style="background-image:url(<?php echo fillurl($_smarty_tpl->tpl_vars['bg']->value);?>
);"></div>
            <?php
$_smarty_tpl->tpl_vars['bg'] = $__foreach_foo_0_saved_local_item;
}
if ($__foreach_foo_0_saved) {
$_smarty_tpl->tpl_vars['__smarty_foreach_foo'] = $__foreach_foo_0_saved;
}
if ($__foreach_foo_0_saved_item) {
$_smarty_tpl->tpl_vars['bg'] = $__foreach_foo_0_saved_item;
}
?>
        </div>
    </div>

    <div class="main-sigh-in cf">
        <div class="brandBox">
            <p class="slogan"><?php echo $_smarty_tpl->tpl_vars['tem']->value['t1']['title'];?>
</p>
            <p class="description"><?php echo $_smarty_tpl->tpl_vars['tem']->value['t1']['subtitle'];?>
</p>
        </div>
        <div class="sign-in-mod">
            <div class="title">
                <span>账户登录</span>
                <?php if (!@constant('OFF_REG_IS')) {?>
                    <span>|</span>
                    <a class="normal-link" href="<?php echo $_smarty_tpl->tpl_vars['urlarr']->value[2];?>
reg/">注册账户</a>
                <?php }?>
            </div>

            <form action="<?php echo $_smarty_tpl->tpl_vars['urlarr']->value['now'];?>
" method="post" id="loginForm">
                <div class="form-item">
                    <div class="form-group form-group-input">
                        <label for="username">
                            <span class="ui-icon ui-icon-userDEF"><i class="iconfont-auth">&#xe617;</i></span>
                        </label>
                        <input class="form-control" type="text" name="username" id="username" placeholder="用户名"/>
                    </div>
                </div>
                <div class="form-item">
                    <div class="form-group form-group-input">
                        <label for="userpass">
                            <span class="ui-icon ui-icon-userDEF"><i class="iconfont-auth">&#xe616;</i></span>
                        </label>
                        <input class="form-control" type="password" name="userpass" id="userpass" placeholder="密码"/>
                    </div>
                </div>
                <div class="form-item">
                    <input id="subForm" type="submit" class="button button-primary button-metro" value="登录"/>
                    <input type="hidden" name="dosubmit" value="1"/>
                    <a class="normal-link" href="tencent://message/?uin=<?php echo @constant('DIY_LINKQQ_PATH');?>
&Menu=yes">忘记密码？</a>
                </div>
                <div class="form-item remember">
                    <label><input type="checkbox" id="remember" name="remember"/>记住账号</label>
                    <label><input type="checkbox" id="autoLogin" name="autoLogin"/>下次自动登录</label>
                </div>
            </form>

            <div class="qrcode cf">
                <?php if ($_smarty_tpl->tpl_vars['settingother']->value['logincode']) {?>
                    <img class="image" width="90" src="<?php echo fillurl($_smarty_tpl->tpl_vars['settingother']->value['logincode']);?>
" alt=""/>
                <?php } else { ?>
                    <img class="image" width="90" height="90" src="<?php echo $_smarty_tpl->tpl_vars['IMG_PATH']->value;?>
qrcode.png" alt=""/>
                <?php }?>
                <div class="description">
                    <?php if ($_smarty_tpl->tpl_vars['settingother']->value['logintext']) {?>
                        <?php echo $_smarty_tpl->tpl_vars['settingother']->value['logintext'];?>

                    <?php } else { ?>
                        <p>扫描二维码，关注 <a class="normal-link" href="<?php echo @constant('BRAND_URL');?>
" target="_blank"><?php echo @constant('BRAND_NAME');?>
</a></p>
                        <p>量身定制，随需而变优质产品助您绘制移动互联网时代蓝图</p>
                    <?php }?>
                </div>
            </div>
        </div>
    </div>
</div>

<div class="contentSection">
    <div class="section brandList">
        <ol class="step">
            <li>
                <a href="javascript:void(0)">
                    <em><i class="iconfont-crmhome" title="微信公众号">&#xe601;</i></em>
                    <dl>
                        <dt>微信公众号</dt>
                        <dd>订阅号、服务号、企业号提供最全的解决方案</dd>
                    </dl>
                </a>
            </li>
            <li>
                <a href="javascript:void(0)">
                    <em><i class="iconfont-crmhome" title="支付宝服务窗">&#xe615;</i></em>
                    <dl>
                        <dt>支付宝服务窗</dt>
                        <dd>专为支付宝服务窗商户设计，打造双入口平台</dd>
                    </dl>
                </a>
            </li>
            <li>
                <a href="javascript:void(0)">
                    <em><i class="iconfont-crmhome" title="会员卡">&#xe610;</i></em>
                    <dl>
                        <dt>会员卡</dt>
                        <dd>特权、礼品、优惠券，新一代的移动会员管理系统</dd>
                    </dl>
                </a>
            </li>
            <li class="_last">
                <a href="javascript:void(0)">
                    <em><i class="iconfont-crmhome" title="售货机行业">&#xe60c;</i></em>
                    <dl>
                        <dt>微网站 场景</dt>
                        <dd>专注移动互联，为客户定制全套解决方案</dd>
                    </dl>
                </a>
            </li>
        </ol>
    </div>
    <div class="brandList gray">
        <div class="w1000 fn-clear">
            <div class="background bg1 fn-right"></div>
            <div class="brand fn-left ft-left">
                <p class="slogan">红包/折扣营销</p>
                <p class="description">多种营销，轻松提升客流量、交易额</p>
            </div>
        </div>
    </div>
    <div class="brandList">
        <div class="w1000 fn-clear">
            <div class="background bg2 fn-left"></div>
            <div class="brand fn-right ft-right">
                <p class="slogan">海量用户数据</p>
                <p class="description">精准平台海量数据处理的设计与实现</p>
            </div>
        </div>
    </div>
</div>

<?php $_smarty_tpl->smarty->ext->_subtemplate->render($_smarty_tpl, "file:footer.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0, false);
?>


<?php echo '<script'; ?>
 type="text/javascript">
    $(document).ready(function() {
        $('#loginForm').submit(function() {

            var retu = true;
            retu = $('#loginForm #username').inTips("请输入用户名/邮箱/手机号码", -1, retu);
            retu = $('#loginForm #userpass').inTips("请输入密码", -1, retu);
            if (!retu) return false;

            $.alert('正在登录...', 0);
            $(this).ajaxSubmit({
                dataType : 'json',
                success : function (data) {
                    $.alert(0);
                    if (data != null && data.success != null && data.success) {
                        window.location.href = '<?php echo $_smarty_tpl->tpl_vars['urlarr']->value[2];?>
';
                    } else {
                        $.showModal(data.message);
                    }
                },
                error : function () {
                    $.alert(0);
                    $.inModal("登录失败！");
                }
            });
            return false;
        });
    });
<?php echo '</script'; ?>
>

</body>
</html><?php }
}
